<template>
	<view>
		<div class="box">
			<div>1</div>
			<div>2</div>
			<div>3</div>
		</div>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.box{
		height: 300px;  /*高度*/
		border: 2px solid red;  /*边框*/
		display: flex;
		/* flex-direction: column;  /*将垂直 从上到下 设置为主轴*/ */
		/* justify-content: flex-start;  /*主轴的排列方式*/ 
		
		/* justify-content: flex-end; */
		/* justify-content: center; */
	}
	.box div{  /*选择.box 里面的div*/
		width: 50px;
		height: 50px;
		background: blue;
		color: #fff;
		border: 2px solid #0ff;
	}
</style>
